package bjut.zrpc.core.optimization.annotation;

import java.lang.annotation.*;

/**
 * @Author: zhuzhiming
 * @Date: 2022/6/29 12:47
 */
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ZRpcSentinel {

    int duration() default 3000;

    boolean sentinel() default true;

    int exceptionCount() default 5;

    int inTime() default 3000;

}
